package com.tujia.service.impl;

import com.tujia.ProblemType;
import com.tujia.dao.ProblemTypeDao;
import com.tujia.service.ProblemTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: feiwang_6
 * @create: 2018/12/17 7:19
 * @description:
 */
@Service("problemTypeService")
public class ProblemTypeServiceImpl implements ProblemTypeService {
    @Autowired
    ProblemTypeDao problemTypeDao;
    @Override
    public ProblemType getProblemTypeById(Integer id) throws Exception {
        return problemTypeDao.getProblemTypeById(id);
    }
}
